package com.kitty.web.client;


import com.kitty.common.utils.SpringUtils;
import com.kitty.game.gm.handler.GMFather;
import com.kitty.game.role.model.Role;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GmMoveAi implements GMFather {
    @Autowired
    ClientRoleManage clientRoleManage;

    @Override
    public boolean handle(Role aaaaa, String content) {

        if("1".equals(content)){
            SpringUtils.getBean(ClientRoleManage.class).moveFightAI();
        }else if("2".equals(content)){
            SpringUtils.getBean(ClientRoleManage.class).moveTaskAI();
        }
        return true;
    }
}
